<template>
  <!-- 错题本主页 -->
  <view class="box">
    <view @click="one" class="one">
      错题本-单选
    </view>
    <view @click="two" class="two">
      错题本-多选
    </view>
    <view @click="three" class="three">
      错题本-判断
    </view>
    <view @click="four" class="four">
      错题本-混合
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        
      }
    },
    methods: {
      one(){
        uni.navigateTo({
          url:"/pages/errOptions/errOptions"
        })
      },
      two(){
        uni.navigateTo({
          url:"/pages/may-err/may-err"
        })
      },
      three(){
        uni.navigateTo({
          url:"/pages/judge-err/judge-err"
        })
      },
      four(){
        uni.navigateTo({
          url:"/pages/mix-err/mix-err"
        })
      }
    }
  }
</script>

<style scoped lang="scss">
  .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    view{
      width: 300rpx;
      height: 150rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #fff;
      margin-top: 80rpx;
      border-radius: 10rpx;
      color: skyblue;
      box-shadow: #eee 5rpx 5rpx 5rpx;
      border: 1rpx solid #eee;
    }
  }
</style>
